package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class CircleArea {
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		double r;
		double size;
		double PI =3.14;
		
		System.out.println("반지름을 입력하세요 : ");
		r =input.nextDouble();
		size= r*r*PI;
		
		System.out.println("반지름이"+ r + "인 원의 넓이는" +size + "입니다.");
				
	}
	

}